﻿namespace WebCrawler
{
    public interface IUrlMatcher
    {
        string[] Match(string text);
    }

    public class UrlMatcher : IUrlMatcher
    {
        public string[] Match(string text)
        {
            var urls = UrlParser.MatchUrls(text);
            return urls;
        }
    }
}